package com.shire.shire_interface.dao.marketing;

import com.shire.shire_interface.model.marketing.WxNewResponseRecord;
import com.shire.shire_interface.model.marketing.WxNewResponseRecordExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface WxNewResponseRecordDao {
    long countByExample(WxNewResponseRecordExample example);

    int deleteByExample(WxNewResponseRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxNewResponseRecord record);

    int insertSelective(WxNewResponseRecord record);

    List<WxNewResponseRecord> selectByExample(WxNewResponseRecordExample example);

    WxNewResponseRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxNewResponseRecord record, @Param("example") WxNewResponseRecordExample example);

    int updateByExample(@Param("record") WxNewResponseRecord record, @Param("example") WxNewResponseRecordExample example);

    int updateByPrimaryKeySelective(WxNewResponseRecord record);

    int updateByPrimaryKey(WxNewResponseRecord record);
}